.class public Lcn/cheln/explorer/beans/FileInfo;
.super Ljava/lang/Object;


# static fields
.field public static final AUDIO_ICON:I = 0x7f02001e

.field public static final DIR_RES:I = 0x7f02000f

.field public static final DOC_ICON:I = 0x7f02000d

.field public static final IMAGE_LOADING_ICON:I = 0x7f020022

.field public static final OTHER_FILE_RES:I = 0x7f020023

.field public static final PACKAGE_ICON:I = 0x7f02001f

.field public static final THEME_ICON:I = -0x2

.field public static final VIDEO_ICON:I = 0x7f020021

.field public static fileFetcher:Lcn/cheln/explorer/ds/sdcard/TypeFilter;

.field public static iconAudio:Landroid/graphics/Bitmap;

.field public static iconDir:Landroid/graphics/Bitmap;

.field public static iconDoc:Landroid/graphics/Bitmap;

.field public static iconImageLoading:Landroid/graphics/Bitmap;

.field public static iconOtherFile:Landroid/graphics/Bitmap;

.field public static iconPackage:Landroid/graphics/Bitmap;

.field public static iconTheme:Landroid/graphics/Bitmap;

.field public static iconVideo:Landroid/graphics/Bitmap;


# instance fields
.field private a:Landroid/content/Context;

.field private b:Z

.field public checkboxOption:Ljava/lang/Boolean;

.field public count:Ljava/lang/Integer;

.field public countStr:Ljava/lang/String;

.field public fileformat:Ljava/lang/Integer;

.field public iconRes:Ljava/lang/Object;

.field public isCutNew:Ljava/lang/Boolean;

.field public isDir:Ljava/lang/Boolean;

.field public isFileBuilt:Z

.field public isIconBinded:Z

.field public isUISelected:Z

.field public lastModified:Ljava/lang/String;

.field public lastModifiedInt:Ljava/lang/Long;

.field public leng:Ljava/lang/Long;

.field public name:Ljava/lang/String;

.field public overrideFlag:Ljava/lang/Boolean;

.field public path:Ljava/lang/String;

.field public sizeText:Ljava/lang/String;

.field public sortKey:Ljava/lang/String;

.field public type:Ljava/lang/String;

.field public unformattedDate:Ljava/util/Date;


# direct methods
.method static constructor <clinit>()V
    .locals 5

    const/4 v4, 0x0

    new-instance v0, Lcn/cheln/explorer/ds/sdcard/TypeFilter;

    const/4 v1, 0x2

    new-array v1, v1, [Ljava/lang/Integer;

    const/4 v2, 0x0

    const/4 v3, 0x4

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    const/4 v2, 0x1

    sget-boolean v3, Lcn/cheln/explorer/config/a;->b:Z

    invoke-static {v3}, Lcn/cheln/explorer/config/a;->a(Z)I

    move-result v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    invoke-direct {v0, v1, v4, v4}, Lcn/cheln/explorer/ds/sdcard/TypeFilter;-><init>([Ljava/lang/Integer;[Lcn/cheln/explorer/ds/sdcard/TypeFilter$TextWrapper;[Ljava/lang/String;)V

    sput-object v0, Lcn/cheln/explorer/beans/FileInfo;->fileFetcher:Lcn/cheln/explorer/ds/sdcard/TypeFilter;

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->checkboxOption:Ljava/lang/Boolean;

    const/4 v0, -0x1

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->iconRes:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Ljava/io/File;Landroid/content/Context;)V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->checkboxOption:Ljava/lang/Boolean;

    const/4 v0, -0x1

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->iconRes:Ljava/lang/Object;

    iput-object p2, p0, Lcn/cheln/explorer/beans/FileInfo;->a:Landroid/content/Context;

    invoke-virtual {p0, p1}, Lcn/cheln/explorer/beans/FileInfo;->a(Ljava/io/File;)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcn/cheln/explorer/beans/FileInfo;->isFileBuilt:Z

    return-void
.end method

.method public constructor <init>(Ljava/io/File;Landroid/content/Context;Ljava/lang/Boolean;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcn/cheln/explorer/beans/FileInfo;-><init>(Ljava/io/File;Landroid/content/Context;)V

    iput-object p3, p0, Lcn/cheln/explorer/beans/FileInfo;->overrideFlag:Ljava/lang/Boolean;

    return-void
.end method

.method public constructor <init>(Ljava/io/File;Ljava/lang/String;Landroid/content/Context;)V
    .locals 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->checkboxOption:Ljava/lang/Boolean;

    const/4 v0, -0x1

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->iconRes:Ljava/lang/Object;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    iput-object p3, p0, Lcn/cheln/explorer/beans/FileInfo;->a:Landroid/content/Context;

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;)V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->checkboxOption:Ljava/lang/Boolean;

    const/4 v0, -0x1

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->iconRes:Ljava/lang/Object;

    iput-object p1, p0, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Landroid/content/Context;)V
    .locals 1

    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-direct {p0, v0, p2}, Lcn/cheln/explorer/beans/FileInfo;-><init>(Ljava/io/File;Landroid/content/Context;)V

    return-void
.end method

.method public static a(Ljava/lang/Class;Ljava/io/File;Landroid/content/Context;)Lcn/cheln/explorer/beans/FileInfo;
    .locals 1

    const/4 v0, 0x0

    invoke-static {p0, p1, p2, v0}, Lcn/cheln/explorer/beans/FileInfo;->a(Ljava/lang/Class;Ljava/io/File;Landroid/content/Context;Ljava/lang/Boolean;)Lcn/cheln/explorer/beans/FileInfo;

    move-result-object v0

    return-object v0
.end method

.method public static a(Ljava/lang/Class;Ljava/io/File;Landroid/content/Context;Ljava/lang/Boolean;)Lcn/cheln/explorer/beans/FileInfo;
    .locals 4

    const-class v0, Landroid/content/Context;

    const/4 v0, 0x0

    if-nez p3, :cond_0

    const/4 v1, 0x2

    :try_start_0
    new-array v1, v1, [Ljava/lang/Class;

    const/4 v2, 0x0

    const-class v3, Ljava/io/File;

    aput-object v3, v1, v2

    const/4 v2, 0x1

    const-class v3, Landroid/content/Context;

    aput-object v3, v1, v2

    invoke-virtual {p0, v1}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;

    move-result-object v1

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    aput-object p1, v2, v3

    const/4 v3, 0x1

    aput-object p2, v2, v3

    invoke-virtual {v1, v2}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcn/cheln/explorer/beans/FileInfo;

    move-object v0, p0

    :goto_0
    return-object v0

    :cond_0
    const/4 v1, 0x3

    new-array v1, v1, [Ljava/lang/Class;

    const/4 v2, 0x0

    const-class v3, Ljava/io/File;

    aput-object v3, v1, v2

    const/4 v2, 0x1

    const-class v3, Landroid/content/Context;

    aput-object v3, v1, v2

    const/4 v2, 0x2

    const-class v3, Ljava/lang/Boolean;

    aput-object v3, v1, v2

    invoke-virtual {p0, v1}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;

    move-result-object v1

    const/4 v2, 0x3

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    aput-object p1, v2, v3

    const/4 v3, 0x1

    aput-object p2, v2, v3

    const/4 v3, 0x2

    aput-object p3, v2, v3

    invoke-virtual {v1, v2}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcn/cheln/explorer/beans/FileInfo;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-object v0, p0

    goto :goto_0

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public static b(Landroid/content/Context;)V
    .locals 2

    sget-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconDir:Landroid/graphics/Bitmap;

    if-nez v0, :cond_0

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f02000f

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    check-cast v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconDir:Landroid/graphics/Bitmap;

    :cond_0
    sget-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconOtherFile:Landroid/graphics/Bitmap;

    if-nez v0, :cond_1

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f020023

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    check-cast v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconOtherFile:Landroid/graphics/Bitmap;

    :cond_1
    sget-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconDoc:Landroid/graphics/Bitmap;

    if-nez v0, :cond_2

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f02000d

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    check-cast v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconDoc:Landroid/graphics/Bitmap;

    :cond_2
    sget-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconImageLoading:Landroid/graphics/Bitmap;

    if-nez v0, :cond_3

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f020022

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    check-cast v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconImageLoading:Landroid/graphics/Bitmap;

    :cond_3
    sget-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconVideo:Landroid/graphics/Bitmap;

    if-nez v0, :cond_4

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f020021

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    check-cast v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconVideo:Landroid/graphics/Bitmap;

    :cond_4
    sget-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconAudio:Landroid/graphics/Bitmap;

    if-nez v0, :cond_5

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f02001e

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    check-cast v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconAudio:Landroid/graphics/Bitmap;

    :cond_5
    sget-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconPackage:Landroid/graphics/Bitmap;

    if-nez v0, :cond_6

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f02001f

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p0

    check-cast p0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {p0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/beans/FileInfo;->iconPackage:Landroid/graphics/Bitmap;

    :cond_6
    return-void
.end method


# virtual methods
.method public final a(Ljava/io/File;)V
    .locals 8

    const/4 v7, -0x1

    const/4 v5, 0x1

    const-string v6, " "

    invoke-virtual {p1}, Ljava/io/File;->exists()Z

    move-result v0

    if-nez v0, :cond_4

    move v0, v5

    move-object v1, p0

    :goto_0
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, v1, Lcn/cheln/explorer/beans/FileInfo;->isDir:Ljava/lang/Boolean;

    invoke-virtual {p1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    invoke-virtual {p1}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->name:Ljava/lang/String;

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->name:Ljava/lang/String;

    invoke-static {v0}, Lcn/cheln/support/app/a;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->type:Ljava/lang/String;

    invoke-virtual {p1}, Ljava/io/File;->length()J

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->leng:Ljava/lang/Long;

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->leng:Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    long-to-float v0, v0

    invoke-static {v0}, Lcn/cheln/support/app/a;->a(F)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->sizeText:Ljava/lang/String;

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->isDir:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, ""

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->sizeText:Ljava/lang/String;

    :cond_0
    invoke-virtual {p1}, Ljava/io/File;->lastModified()J

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->lastModifiedInt:Ljava/lang/Long;

    new-instance v0, Ljava/util/Date;

    iget-object v1, p0, Lcn/cheln/explorer/beans/FileInfo;->lastModifiedInt:Ljava/lang/Long;

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v1

    invoke-direct {v0, v1, v2}, Ljava/util/Date;-><init>(J)V

    iget-object v1, p0, Lcn/cheln/explorer/beans/FileInfo;->a:Landroid/content/Context;

    if-nez v1, :cond_6

    sget-object v1, Lcom/direction/hold/FileApp;->a:Lcom/direction/hold/FileApp;

    :goto_1
    if-nez v1, :cond_1

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "context = "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    :cond_1
    sget-object v2, Lcn/cheln/support/app/a;->a:Ljava/lang/String;

    if-nez v2, :cond_2

    invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v2

    const-string v3, "time_12_24"

    invoke-static {v2, v3}, Landroid/provider/Settings$System;->getString(Landroid/content/ContentResolver;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    sput-object v2, Lcn/cheln/support/app/a;->a:Ljava/lang/String;

    :cond_2
    const-string v2, "yyyy-MM-dd hh:mm"

    invoke-static {v2, v0}, Landroid/text/format/DateFormat;->format(Ljava/lang/CharSequence;Ljava/util/Date;)Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    sget-object v3, Lcn/cheln/support/app/a;->a:Ljava/lang/String;

    if-eqz v3, :cond_3

    sget-object v3, Lcn/cheln/support/app/a;->a:Ljava/lang/String;

    const-string v4, "12"

    invoke-virtual {v3, v4}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v3

    if-eqz v3, :cond_a

    :cond_3
    invoke-virtual {v0}, Ljava/util/Date;->getHours()I

    move-result v0

    const/16 v3, 0xd

    if-ge v0, v3, :cond_7

    const v0, 0x7f0500b5

    :goto_2
    invoke-virtual {v1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    const-string v1, " "

    invoke-virtual {v2, v6}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v3, 0x0

    aget-object v3, v1, v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " "

    invoke-virtual {v2, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v2, " "

    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    aget-object v2, v1, v5

    const-string v3, "0"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_8

    aget-object v1, v1, v5

    invoke-virtual {v1, v5}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v1

    :goto_3
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_4
    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->lastModified:Ljava/lang/String;

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->isDir:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_9

    const/4 v0, -0x2

    :goto_5
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->count:Ljava/lang/Integer;

    invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->iconRes:Ljava/lang/Object;

    invoke-virtual {p0}, Lcn/cheln/explorer/beans/FileInfo;->k()V

    return-void

    :cond_4
    iget-boolean v0, p0, Lcn/cheln/explorer/beans/FileInfo;->b:Z

    if-eqz v0, :cond_5

    move v0, v5

    move-object v1, p0

    goto/16 :goto_0

    :cond_5
    invoke-virtual {p1}, Ljava/io/File;->isDirectory()Z

    move-result v0

    move-object v1, p0

    goto/16 :goto_0

    :cond_6
    iget-object v1, p0, Lcn/cheln/explorer/beans/FileInfo;->a:Landroid/content/Context;

    goto/16 :goto_1

    :cond_7
    const v0, 0x7f0500b6

    goto :goto_2

    :cond_8
    aget-object v1, v1, v5

    goto :goto_3

    :cond_9
    move v0, v7

    goto :goto_5

    :cond_a
    move-object v0, v2

    goto :goto_4
.end method

.method public final a(Ljava/lang/Integer;)V
    .locals 0

    iput-object p1, p0, Lcn/cheln/explorer/beans/FileInfo;->count:Ljava/lang/Integer;

    return-void
.end method

.method public final a(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcn/cheln/explorer/beans/FileInfo;->name:Ljava/lang/String;

    return-void
.end method

.method public final a(Z)V
    .locals 0

    iput-boolean p1, p0, Lcn/cheln/explorer/beans/FileInfo;->b:Z

    return-void
.end method

.method public final b(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    return-void
.end method

.method public final b()Z
    .locals 1

    iget-boolean v0, p0, Lcn/cheln/explorer/beans/FileInfo;->b:Z

    return v0
.end method

.method public final c()Ljava/lang/Boolean;
    .locals 1

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->isDir:Ljava/lang/Boolean;

    return-object v0
.end method

.method public final d()Ljava/lang/Long;
    .locals 1

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->lastModifiedInt:Ljava/lang/Long;

    return-object v0
.end method

.method public final e()Ljava/lang/Long;
    .locals 1

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->leng:Ljava/lang/Long;

    return-object v0
.end method

.method public equals(Ljava/lang/Object;)Z
    .locals 3

    const/4 v2, 0x0

    if-nez p1, :cond_0

    move v0, v2

    :goto_0
    return v0

    :cond_0
    check-cast p1, Lcn/cheln/explorer/beans/FileInfo;

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    if-nez v0, :cond_2

    iget-object v0, p1, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    if-eqz v0, :cond_3

    :cond_1
    move v0, v2

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    iget-object v1, p1, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_3
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public final f()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->name:Ljava/lang/String;

    return-object v0
.end method

.method public final g()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    return-object v0
.end method

.method public final h()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->lastModified:Ljava/lang/String;

    return-object v0
.end method

.method public final i()Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->iconRes:Ljava/lang/Object;

    return-object v0
.end method

.method public final j()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->sizeText:Ljava/lang/String;

    return-object v0
.end method

.method public final k()V
    .locals 3

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->count:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    const/4 v1, -0x1

    if-ne v0, v1, :cond_0

    const-string v0, ""

    :goto_0
    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->countStr:Ljava/lang/String;

    return-void

    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "  ( "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcn/cheln/explorer/beans/FileInfo;->count:Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    const/4 v2, -0x2

    if-ne v1, v2, :cond_1

    const-string v1, "..."

    :goto_1
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " )"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcn/cheln/explorer/beans/FileInfo;->count:Ljava/lang/Integer;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto :goto_1
.end method

.method public final l()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->type:Ljava/lang/String;

    return-object v0
.end method

.method public final m()V
    .locals 2

    iget-boolean v0, p0, Lcn/cheln/explorer/beans/FileInfo;->isFileBuilt:Z

    if-nez v0, :cond_0

    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lcn/cheln/explorer/beans/FileInfo;->a(Ljava/io/File;)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcn/cheln/explorer/beans/FileInfo;->isFileBuilt:Z

    :cond_0
    return-void
.end method

.method public final n()V
    .locals 1

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->name:Ljava/lang/String;

    return-void

    :cond_0
    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    invoke-static {v0}, Lcn/cheln/support/app/a;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public final o()V
    .locals 1

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->type:Ljava/lang/String;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    iput-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->type:Ljava/lang/String;

    return-void

    :cond_0
    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->name:Ljava/lang/String;

    invoke-static {v0}, Lcn/cheln/support/app/a;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public final p()Ljava/io/File;
    .locals 2

    iget-object v0, p0, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_0
    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    goto :goto_0
.end method
